package animation6.view.zhaolixiang.com.viewanimation6

import android.animation.TypeEvaluator

/**
 * Created by Administrator on 2017/12/24.
 */
class PointEvaluator:TypeEvaluator<Point> {
    override fun evaluate(p0: Float, p1: Point, p2: Point): Point {
        return Point(p1.radius+(p2.radius-p1.radius)*p0)
    }
}